package com.face.exception;

public class DatabaseException extends RuntimeException {
    private String table;
    private String operation;
    private String data;

    public DatabaseException(String table, String operation, String data) {
        this.table = table;
        this.operation = operation;
        this.data = data;
    }

    public String getOperation() {
        return this.operation;
    }

    public String getTable() {
        return table;
    }

    public String getDate() {
        return data;
    }
}
